import React from "react";
import SideMenu from "../../components/sanbox/SideMenu"
import TopHeader from "../../components/sanbox/TopHeader";
import {Layout} from "antd";
import {Content} from "antd/es/layout/layout";
import './NewsSandBox.css'
import NewsRouter from "../../components/sanbox/NewsRouter";

export default function NewsSandBox() {
    return (
        <Layout>
            <SideMenu/>
            <Layout className="site-layout">
                <TopHeader/>
                <Content
                    className="site-layout-background"
                    style={{
                        margin: '24px 16px',
                        padding: 24,
                        minHeight: 280,
                        overflow:"auto"
                    }}
                >
                    <NewsRouter/>
                </Content>
            </Layout>
        </Layout>
    );
}
